package Controller.StateImpl;

import Controller.State;
import View.PayingFrame;

public class PayingState implements State {
    private static PayingState instance;

    private PayingState() {}

    public static PayingState getInstance() {
        if (instance == null) {
            instance = new PayingState();
        }
        return instance;
    }

    @Override
    public void doAction() {
        PayingFrame.getInstance().display();//显示结算窗口
    }
}
